import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { TreeComponent } from './tree/tree.component';
import { Routes, RouterModule } from '@angular/router';
import { SharedModule } from '@shared';

const routes: Routes = [
  { path: 'tree', component: TreeComponent }
];

@NgModule({
  declarations: [TreeComponent],
  imports: [
    CommonModule,
    RouterModule.forChild(routes),
    SharedModule
  ]
})
export class CatalogModule { }
